package com.rmdjzz.slmmn.pojo.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.rmdjzz.slmmn.pojo.BasePojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @作者 张绍鑫
 * @创建时间 2023/5/27
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Singer extends BasePojo {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String headerImg;
    private String singerName;
    private Integer singerAge;
    private String singerDescribe;//描述
    private Integer heat;

    public Singer(Date createTime, Date updateTime, Integer deleted, Integer id, String headerImg, String singerName, Integer singerAge, Integer heat) {
        super(createTime, updateTime, deleted);
        this.id = id;
        this.headerImg = headerImg;
        this.singerName = singerName;
        this.singerAge = singerAge;
        this.heat = heat;
    }
}
